package com.api.shopapi.mapper;


import com.api.shopapi.entity.views.VisualAccount;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Select;
import org.springframework.stereotype.Repository;

import java.util.List;

@Repository
@Mapper
public interface VisualAccoutMapper {


    //查询所有的政府机构名称
    @Select("SELECT DISTINCT GovernmentCode from `order`")
    List<VisualAccount> getList();
}
